package org.example.service.impl;

import org.example.dao.BookDao;
import org.example.service.BookService;

public class BookServiceImpl implements BookService {
    private BookDao bookDao;
    private UserDao userDao;
    public BookServiceImpl(BookDao bookDao,UserDao userDao){
        this.bookDao = bookDao;
        this.userDao = userDao;
    }
    public void save(){
        bookDao.save();
        userDao.save();
    }
}
